<?php get_header(); ?>

<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

	<h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>	
		<div class="meta"><?php _e("Posted by"); ?> <?php the_author() ?> <?php _e('on') ?> <?php the_time('F jS, Y') ?> <?php edit_post_link(__('Edit This')); ?></div>

	<div class="main">
		<?php the_content(__('(more...)')); ?>
	</div>

</div>

<?php endwhile; else: ?>
<div class="warning">
	<p><?php _e('Sorry, no posts matched your criteria, please try and search again.'); ?></p>
</div>
<?php endif; ?>

<?php get_sidebar(); ?>

<div class="clearleft"></div>

<?php get_footer(); ?>